<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head th:replace="base::head(~{})"></head>
<body>
	<div class="x-body layui-anim layui-anim-up">
		<fieldset class="layui-elem-field layui-field-title">
			<legend>详情</legend>
		</fieldset>
		<form id="form" class="layui-form layui-form-pane" action="">
			            <input type="hidden" name="id" th:value="${question.id}">
			<div class="layui-form-item">
				<label class="layui-form-label">题目</label>
				<div class="layui-input-inline">
					<input type="text" name="content" th:value="${question.content}" readonly="readonly" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">答案</label>
				<div class="layui-input-inline">
					<input type="text" name="answer" th:value="${question.answer}" readonly="readonly" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">分值</label>
				<div class="layui-input-inline">
					<input type="text" name="score" th:value="${question.score}" readonly="readonly" class="layui-input">
				</div>
			</div>
			<a href="javascript:;" id="close" class="layui-btn">关闭</a>
		</form>
	</div>
</body>
<script>
	layui.use([ 'layer' ], function() {
		var layer = layui.layer;
		$('#close').on('click', function() {
			admin_close_iframe_window();
		});
	});
</script>
</html>